package com.easyaop.api.support;

import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodType;

public interface ClassDefiner {
    Class<?> defineClass(byte[] classBytes) throws Exception;

    MethodHandle find(Class<?> refc, String name, MethodType type);

    default void ensureClassInitialized(Class<?> target) {
    }

    int majorVersion();
}